function persistentStorage() {

	// 获取
	function getSorage(key) {
		return uni.getStorageSync(key)
	}

	// 存储
	function setStorage(key, val) {
		return uni.setStorageSync(key, val)
	}

	return {
		getSorage,
		setStorage
	}
}

export default persistentStorage